package xian.woniuxy.be.entity;

import java.util.ArrayList;
import java.util.List;

public class CustomerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCusIdIsNull() {
            addCriterion("cus_id is null");
            return (Criteria) this;
        }

        public Criteria andCusIdIsNotNull() {
            addCriterion("cus_id is not null");
            return (Criteria) this;
        }

        public Criteria andCusIdEqualTo(Integer value) {
            addCriterion("cus_id =", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotEqualTo(Integer value) {
            addCriterion("cus_id <>", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdGreaterThan(Integer value) {
            addCriterion("cus_id >", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cus_id >=", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdLessThan(Integer value) {
            addCriterion("cus_id <", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdLessThanOrEqualTo(Integer value) {
            addCriterion("cus_id <=", value, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdIn(List<Integer> values) {
            addCriterion("cus_id in", values, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotIn(List<Integer> values) {
            addCriterion("cus_id not in", values, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdBetween(Integer value1, Integer value2) {
            addCriterion("cus_id between", value1, value2, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cus_id not between", value1, value2, "cusId");
            return (Criteria) this;
        }

        public Criteria andCusNameIsNull() {
            addCriterion("cus_name is null");
            return (Criteria) this;
        }

        public Criteria andCusNameIsNotNull() {
            addCriterion("cus_name is not null");
            return (Criteria) this;
        }

        public Criteria andCusNameEqualTo(String value) {
            addCriterion("cus_name =", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameNotEqualTo(String value) {
            addCriterion("cus_name <>", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameGreaterThan(String value) {
            addCriterion("cus_name >", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameGreaterThanOrEqualTo(String value) {
            addCriterion("cus_name >=", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameLessThan(String value) {
            addCriterion("cus_name <", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameLessThanOrEqualTo(String value) {
            addCriterion("cus_name <=", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameLike(String value) {
            addCriterion("cus_name like", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameNotLike(String value) {
            addCriterion("cus_name not like", value, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameIn(List<String> values) {
            addCriterion("cus_name in", values, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameNotIn(List<String> values) {
            addCriterion("cus_name not in", values, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameBetween(String value1, String value2) {
            addCriterion("cus_name between", value1, value2, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusNameNotBetween(String value1, String value2) {
            addCriterion("cus_name not between", value1, value2, "cusName");
            return (Criteria) this;
        }

        public Criteria andCusRegionIsNull() {
            addCriterion("cus_region is null");
            return (Criteria) this;
        }

        public Criteria andCusRegionIsNotNull() {
            addCriterion("cus_region is not null");
            return (Criteria) this;
        }

        public Criteria andCusRegionEqualTo(String value) {
            addCriterion("cus_region =", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionNotEqualTo(String value) {
            addCriterion("cus_region <>", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionGreaterThan(String value) {
            addCriterion("cus_region >", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionGreaterThanOrEqualTo(String value) {
            addCriterion("cus_region >=", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionLessThan(String value) {
            addCriterion("cus_region <", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionLessThanOrEqualTo(String value) {
            addCriterion("cus_region <=", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionLike(String value) {
            addCriterion("cus_region like", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionNotLike(String value) {
            addCriterion("cus_region not like", value, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionIn(List<String> values) {
            addCriterion("cus_region in", values, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionNotIn(List<String> values) {
            addCriterion("cus_region not in", values, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionBetween(String value1, String value2) {
            addCriterion("cus_region between", value1, value2, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andCusRegionNotBetween(String value1, String value2) {
            addCriterion("cus_region not between", value1, value2, "cusRegion");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andCusLevelIsNull() {
            addCriterion("cus_level is null");
            return (Criteria) this;
        }

        public Criteria andCusLevelIsNotNull() {
            addCriterion("cus_level is not null");
            return (Criteria) this;
        }

        public Criteria andCusLevelEqualTo(Integer value) {
            addCriterion("cus_level =", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelNotEqualTo(Integer value) {
            addCriterion("cus_level <>", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelGreaterThan(Integer value) {
            addCriterion("cus_level >", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("cus_level >=", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelLessThan(Integer value) {
            addCriterion("cus_level <", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelLessThanOrEqualTo(Integer value) {
            addCriterion("cus_level <=", value, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelIn(List<Integer> values) {
            addCriterion("cus_level in", values, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelNotIn(List<Integer> values) {
            addCriterion("cus_level not in", values, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelBetween(Integer value1, Integer value2) {
            addCriterion("cus_level between", value1, value2, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("cus_level not between", value1, value2, "cusLevel");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionIsNull() {
            addCriterion("cus_satisfaction is null");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionIsNotNull() {
            addCriterion("cus_satisfaction is not null");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionEqualTo(String value) {
            addCriterion("cus_satisfaction =", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionNotEqualTo(String value) {
            addCriterion("cus_satisfaction <>", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionGreaterThan(String value) {
            addCriterion("cus_satisfaction >", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionGreaterThanOrEqualTo(String value) {
            addCriterion("cus_satisfaction >=", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionLessThan(String value) {
            addCriterion("cus_satisfaction <", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionLessThanOrEqualTo(String value) {
            addCriterion("cus_satisfaction <=", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionLike(String value) {
            addCriterion("cus_satisfaction like", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionNotLike(String value) {
            addCriterion("cus_satisfaction not like", value, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionIn(List<String> values) {
            addCriterion("cus_satisfaction in", values, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionNotIn(List<String> values) {
            addCriterion("cus_satisfaction not in", values, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionBetween(String value1, String value2) {
            addCriterion("cus_satisfaction between", value1, value2, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusSatisfactionNotBetween(String value1, String value2) {
            addCriterion("cus_satisfaction not between", value1, value2, "cusSatisfaction");
            return (Criteria) this;
        }

        public Criteria andCusCreditIsNull() {
            addCriterion("cus_credit is null");
            return (Criteria) this;
        }

        public Criteria andCusCreditIsNotNull() {
            addCriterion("cus_credit is not null");
            return (Criteria) this;
        }

        public Criteria andCusCreditEqualTo(String value) {
            addCriterion("cus_credit =", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditNotEqualTo(String value) {
            addCriterion("cus_credit <>", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditGreaterThan(String value) {
            addCriterion("cus_credit >", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditGreaterThanOrEqualTo(String value) {
            addCriterion("cus_credit >=", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditLessThan(String value) {
            addCriterion("cus_credit <", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditLessThanOrEqualTo(String value) {
            addCriterion("cus_credit <=", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditLike(String value) {
            addCriterion("cus_credit like", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditNotLike(String value) {
            addCriterion("cus_credit not like", value, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditIn(List<String> values) {
            addCriterion("cus_credit in", values, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditNotIn(List<String> values) {
            addCriterion("cus_credit not in", values, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditBetween(String value1, String value2) {
            addCriterion("cus_credit between", value1, value2, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusCreditNotBetween(String value1, String value2) {
            addCriterion("cus_credit not between", value1, value2, "cusCredit");
            return (Criteria) this;
        }

        public Criteria andCusAddrIsNull() {
            addCriterion("cus_addr is null");
            return (Criteria) this;
        }

        public Criteria andCusAddrIsNotNull() {
            addCriterion("cus_addr is not null");
            return (Criteria) this;
        }

        public Criteria andCusAddrEqualTo(String value) {
            addCriterion("cus_addr =", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrNotEqualTo(String value) {
            addCriterion("cus_addr <>", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrGreaterThan(String value) {
            addCriterion("cus_addr >", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrGreaterThanOrEqualTo(String value) {
            addCriterion("cus_addr >=", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrLessThan(String value) {
            addCriterion("cus_addr <", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrLessThanOrEqualTo(String value) {
            addCriterion("cus_addr <=", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrLike(String value) {
            addCriterion("cus_addr like", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrNotLike(String value) {
            addCriterion("cus_addr not like", value, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrIn(List<String> values) {
            addCriterion("cus_addr in", values, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrNotIn(List<String> values) {
            addCriterion("cus_addr not in", values, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrBetween(String value1, String value2) {
            addCriterion("cus_addr between", value1, value2, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusAddrNotBetween(String value1, String value2) {
            addCriterion("cus_addr not between", value1, value2, "cusAddr");
            return (Criteria) this;
        }

        public Criteria andCusPostmailIsNull() {
            addCriterion("cus_postmail is null");
            return (Criteria) this;
        }

        public Criteria andCusPostmailIsNotNull() {
            addCriterion("cus_postmail is not null");
            return (Criteria) this;
        }

        public Criteria andCusPostmailEqualTo(String value) {
            addCriterion("cus_postmail =", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailNotEqualTo(String value) {
            addCriterion("cus_postmail <>", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailGreaterThan(String value) {
            addCriterion("cus_postmail >", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailGreaterThanOrEqualTo(String value) {
            addCriterion("cus_postmail >=", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailLessThan(String value) {
            addCriterion("cus_postmail <", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailLessThanOrEqualTo(String value) {
            addCriterion("cus_postmail <=", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailLike(String value) {
            addCriterion("cus_postmail like", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailNotLike(String value) {
            addCriterion("cus_postmail not like", value, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailIn(List<String> values) {
            addCriterion("cus_postmail in", values, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailNotIn(List<String> values) {
            addCriterion("cus_postmail not in", values, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailBetween(String value1, String value2) {
            addCriterion("cus_postmail between", value1, value2, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusPostmailNotBetween(String value1, String value2) {
            addCriterion("cus_postmail not between", value1, value2, "cusPostmail");
            return (Criteria) this;
        }

        public Criteria andCusFaxIsNull() {
            addCriterion("cus_fax is null");
            return (Criteria) this;
        }

        public Criteria andCusFaxIsNotNull() {
            addCriterion("cus_fax is not null");
            return (Criteria) this;
        }

        public Criteria andCusFaxEqualTo(String value) {
            addCriterion("cus_fax =", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxNotEqualTo(String value) {
            addCriterion("cus_fax <>", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxGreaterThan(String value) {
            addCriterion("cus_fax >", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxGreaterThanOrEqualTo(String value) {
            addCriterion("cus_fax >=", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxLessThan(String value) {
            addCriterion("cus_fax <", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxLessThanOrEqualTo(String value) {
            addCriterion("cus_fax <=", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxLike(String value) {
            addCriterion("cus_fax like", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxNotLike(String value) {
            addCriterion("cus_fax not like", value, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxIn(List<String> values) {
            addCriterion("cus_fax in", values, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxNotIn(List<String> values) {
            addCriterion("cus_fax not in", values, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxBetween(String value1, String value2) {
            addCriterion("cus_fax between", value1, value2, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusFaxNotBetween(String value1, String value2) {
            addCriterion("cus_fax not between", value1, value2, "cusFax");
            return (Criteria) this;
        }

        public Criteria andCusTelIsNull() {
            addCriterion("cus_tel is null");
            return (Criteria) this;
        }

        public Criteria andCusTelIsNotNull() {
            addCriterion("cus_tel is not null");
            return (Criteria) this;
        }

        public Criteria andCusTelEqualTo(String value) {
            addCriterion("cus_tel =", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelNotEqualTo(String value) {
            addCriterion("cus_tel <>", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelGreaterThan(String value) {
            addCriterion("cus_tel >", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelGreaterThanOrEqualTo(String value) {
            addCriterion("cus_tel >=", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelLessThan(String value) {
            addCriterion("cus_tel <", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelLessThanOrEqualTo(String value) {
            addCriterion("cus_tel <=", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelLike(String value) {
            addCriterion("cus_tel like", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelNotLike(String value) {
            addCriterion("cus_tel not like", value, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelIn(List<String> values) {
            addCriterion("cus_tel in", values, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelNotIn(List<String> values) {
            addCriterion("cus_tel not in", values, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelBetween(String value1, String value2) {
            addCriterion("cus_tel between", value1, value2, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusTelNotBetween(String value1, String value2) {
            addCriterion("cus_tel not between", value1, value2, "cusTel");
            return (Criteria) this;
        }

        public Criteria andCusUrlIsNull() {
            addCriterion("cus_url is null");
            return (Criteria) this;
        }

        public Criteria andCusUrlIsNotNull() {
            addCriterion("cus_url is not null");
            return (Criteria) this;
        }

        public Criteria andCusUrlEqualTo(String value) {
            addCriterion("cus_url =", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlNotEqualTo(String value) {
            addCriterion("cus_url <>", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlGreaterThan(String value) {
            addCriterion("cus_url >", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlGreaterThanOrEqualTo(String value) {
            addCriterion("cus_url >=", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlLessThan(String value) {
            addCriterion("cus_url <", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlLessThanOrEqualTo(String value) {
            addCriterion("cus_url <=", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlLike(String value) {
            addCriterion("cus_url like", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlNotLike(String value) {
            addCriterion("cus_url not like", value, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlIn(List<String> values) {
            addCriterion("cus_url in", values, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlNotIn(List<String> values) {
            addCriterion("cus_url not in", values, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlBetween(String value1, String value2) {
            addCriterion("cus_url between", value1, value2, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusUrlNotBetween(String value1, String value2) {
            addCriterion("cus_url not between", value1, value2, "cusUrl");
            return (Criteria) this;
        }

        public Criteria andCusLicenseIsNull() {
            addCriterion("cus_license is null");
            return (Criteria) this;
        }

        public Criteria andCusLicenseIsNotNull() {
            addCriterion("cus_license is not null");
            return (Criteria) this;
        }

        public Criteria andCusLicenseEqualTo(String value) {
            addCriterion("cus_license =", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseNotEqualTo(String value) {
            addCriterion("cus_license <>", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseGreaterThan(String value) {
            addCriterion("cus_license >", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseGreaterThanOrEqualTo(String value) {
            addCriterion("cus_license >=", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseLessThan(String value) {
            addCriterion("cus_license <", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseLessThanOrEqualTo(String value) {
            addCriterion("cus_license <=", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseLike(String value) {
            addCriterion("cus_license like", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseNotLike(String value) {
            addCriterion("cus_license not like", value, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseIn(List<String> values) {
            addCriterion("cus_license in", values, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseNotIn(List<String> values) {
            addCriterion("cus_license not in", values, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseBetween(String value1, String value2) {
            addCriterion("cus_license between", value1, value2, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLicenseNotBetween(String value1, String value2) {
            addCriterion("cus_license not between", value1, value2, "cusLicense");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonIsNull() {
            addCriterion("cus_legalperson is null");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonIsNotNull() {
            addCriterion("cus_legalperson is not null");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonEqualTo(String value) {
            addCriterion("cus_legalperson =", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonNotEqualTo(String value) {
            addCriterion("cus_legalperson <>", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonGreaterThan(String value) {
            addCriterion("cus_legalperson >", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonGreaterThanOrEqualTo(String value) {
            addCriterion("cus_legalperson >=", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonLessThan(String value) {
            addCriterion("cus_legalperson <", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonLessThanOrEqualTo(String value) {
            addCriterion("cus_legalperson <=", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonLike(String value) {
            addCriterion("cus_legalperson like", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonNotLike(String value) {
            addCriterion("cus_legalperson not like", value, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonIn(List<String> values) {
            addCriterion("cus_legalperson in", values, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonNotIn(List<String> values) {
            addCriterion("cus_legalperson not in", values, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonBetween(String value1, String value2) {
            addCriterion("cus_legalperson between", value1, value2, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusLegalpersonNotBetween(String value1, String value2) {
            addCriterion("cus_legalperson not between", value1, value2, "cusLegalperson");
            return (Criteria) this;
        }

        public Criteria andCusAssetsIsNull() {
            addCriterion("cus_assets is null");
            return (Criteria) this;
        }

        public Criteria andCusAssetsIsNotNull() {
            addCriterion("cus_assets is not null");
            return (Criteria) this;
        }

        public Criteria andCusAssetsEqualTo(String value) {
            addCriterion("cus_assets =", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsNotEqualTo(String value) {
            addCriterion("cus_assets <>", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsGreaterThan(String value) {
            addCriterion("cus_assets >", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsGreaterThanOrEqualTo(String value) {
            addCriterion("cus_assets >=", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsLessThan(String value) {
            addCriterion("cus_assets <", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsLessThanOrEqualTo(String value) {
            addCriterion("cus_assets <=", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsLike(String value) {
            addCriterion("cus_assets like", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsNotLike(String value) {
            addCriterion("cus_assets not like", value, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsIn(List<String> values) {
            addCriterion("cus_assets in", values, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsNotIn(List<String> values) {
            addCriterion("cus_assets not in", values, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsBetween(String value1, String value2) {
            addCriterion("cus_assets between", value1, value2, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusAssetsNotBetween(String value1, String value2) {
            addCriterion("cus_assets not between", value1, value2, "cusAssets");
            return (Criteria) this;
        }

        public Criteria andCusRevenueIsNull() {
            addCriterion("cus_revenue is null");
            return (Criteria) this;
        }

        public Criteria andCusRevenueIsNotNull() {
            addCriterion("cus_revenue is not null");
            return (Criteria) this;
        }

        public Criteria andCusRevenueEqualTo(String value) {
            addCriterion("cus_revenue =", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueNotEqualTo(String value) {
            addCriterion("cus_revenue <>", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueGreaterThan(String value) {
            addCriterion("cus_revenue >", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueGreaterThanOrEqualTo(String value) {
            addCriterion("cus_revenue >=", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueLessThan(String value) {
            addCriterion("cus_revenue <", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueLessThanOrEqualTo(String value) {
            addCriterion("cus_revenue <=", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueLike(String value) {
            addCriterion("cus_revenue like", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueNotLike(String value) {
            addCriterion("cus_revenue not like", value, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueIn(List<String> values) {
            addCriterion("cus_revenue in", values, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueNotIn(List<String> values) {
            addCriterion("cus_revenue not in", values, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueBetween(String value1, String value2) {
            addCriterion("cus_revenue between", value1, value2, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusRevenueNotBetween(String value1, String value2) {
            addCriterion("cus_revenue not between", value1, value2, "cusRevenue");
            return (Criteria) this;
        }

        public Criteria andCusStatusIsNull() {
            addCriterion("cus_status is null");
            return (Criteria) this;
        }

        public Criteria andCusStatusIsNotNull() {
            addCriterion("cus_status is not null");
            return (Criteria) this;
        }

        public Criteria andCusStatusEqualTo(String value) {
            addCriterion("cus_status =", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusNotEqualTo(String value) {
            addCriterion("cus_status <>", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusGreaterThan(String value) {
            addCriterion("cus_status >", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusGreaterThanOrEqualTo(String value) {
            addCriterion("cus_status >=", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusLessThan(String value) {
            addCriterion("cus_status <", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusLessThanOrEqualTo(String value) {
            addCriterion("cus_status <=", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusLike(String value) {
            addCriterion("cus_status like", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusNotLike(String value) {
            addCriterion("cus_status not like", value, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusIn(List<String> values) {
            addCriterion("cus_status in", values, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusNotIn(List<String> values) {
            addCriterion("cus_status not in", values, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusBetween(String value1, String value2) {
            addCriterion("cus_status between", value1, value2, "cusStatus");
            return (Criteria) this;
        }

        public Criteria andCusStatusNotBetween(String value1, String value2) {
            addCriterion("cus_status not between", value1, value2, "cusStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}